/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..900;1,200..900&display=swap');

body {
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Variables CSS para fácil personalización */
:root {
    --white: #ffffff;
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* Header/Navigation */
.navbar {
    
    background: rgba(56, 180, 74, 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-img {
  height: 50px; /* Altura fija para consistencia */
  width: auto; /* Mantiene proporciones */
  padding-top: 5px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05); /* Efecto hover sutil */
}

.nav-menu {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    list-style: none;
    gap: 4rem;
    margin: 0;
    padding: 0;
    align-items: start;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(254, 198, 61, 100%);
}

.navbtn{
    display: flex;
    gap: 1.5rem;
    align-content: end;
}

.login-btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 18px;
    background: transparent;
    color: white;
    padding: 0.65rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(254, 198, 61, 50%);
}

.register-btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 18px;
    background: rgba(254, 198, 61, 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(254, 198, 61, 50%);
}

/* ========== MENÚ HAMBURGUESA ========== */

/* Botón Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Contenedor del Menú Móvil */
.mobile-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}


/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    gap: 2rem;
    max-width: 1500px;
    height: 100vh;
    margin-top: 20px;
    background: linear-gradient(180deg, #38B44A 0%, #38B44A 40%, #ffffff 90%, #ffffff 100%);
    color: rgb(255, 255, 255);
    padding: 9rem 4rem 6rem;
    font-family: 'Nunito', sans-serif;
    position: relative;
}

.hero-content {
    width: 55%; 
    z-index: 2;

}

.hero-image{
    width: 500px;
    height: auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-image img{
    max-width: 100%;     /* Nunca más ancha que su contenedor */
    height: auto;
}



.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: #333333;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-primary {
    background: rgba(254, 198, 61, 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(254, 198, 61, 50%);
}

/* Features Section */
.features {
    background: rgb(255, 255, 255);
    padding: 1rem 2rem;
    max-width: 1500px;
    min-height: 100vh; /* Mínimo altura completa */
    margin-bottom: 3rem;
    justify-content: center;
    align-items: center;
    font-family: 'Nunito', sans-serif;
    
}

.features h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.features p {
    line-height: 1.7;
    color: #444;
    margin: 0 auto;
    text-align: justify;
}


        .colab {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
            margin-top: 1rem;
        }
        
        /* Columnas iguales */
        .colab-content {
            flex: 1 1 300px; /* Crecer, encoger, base de 300px */
            max-width: 350px;
            background: white;
            border-radius: 15px;
            padding: 2rem;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        

        
        /* Estilos para los escudos */
        .escudo {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }
        
        .escudo img {
            width: 130px;
            height: 130px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
        .colab-content:hover .escudo img {
            transform: scale(1.1);
        }

.section-header {
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 1rem;
    padding: 1rem 1rem;
    max-width: 1100px;
    height: 120px;
    background: rgba(254, 198, 61, 100%);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 35px;
    text-align: left;
    font-family: 'Nunito', sans-serif;
    position: relative;
}

.section-image {
    width: 11%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 2;
}

.section-image img{
    width: 100%; /* La imagen ocupa todo el contenedor */
    height: 100%;
    object-fit: contain;
}

.section-text{
    width: 90%; 
    z-index: 2;
}

.section-header p {
    font-size: 1.1rem;
    color: #333333;
    max-width: 1500px;
}

.carrusel-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 6rem;
            margin-top: 1rem;
            overflow: hidden;
        }

        .carrusel {
            position: relative;
            height: 110px; /* Altura para contener los slides */
        }

        .carrusel-slide {
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
        }

        .carrusel-slide.activo {
            opacity: 1;
            position: relative;
        }

        /* Indicadores */
        .carrusel-indicadores {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 1rem;
        }

        .indicador {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: none;
            background: rgba(254, 198, 61, 0.5);
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .indicador.activo {
            background: rgba(254, 198, 61, 1);
        }

        .indicador:hover {
            background: rgba(254, 198, 61, 0.8);
        }

        /* Controles de navegación */
        .carrusel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(254, 198, 61, 0.5);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            z-index: 10;
            font-weight: bold;
        }

        .carrusel-control:hover {
            background: rgba(254, 198, 61, 1);
            color: white;
            border-color: rgba(254, 198, 61, 1);
            transform: translateY(-50%) scale(1.1);
        }

        .carrusel-control.prev {
            left: 15px;
        }

        .carrusel-control.next {
            right: 15px;
        }



.features-grid {
    background-color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    font-family: 'Nunito', sans-serif;
}

.feature-card {
    background: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-img {
    width: 200px;
    height: 200px;
    justify-content: center;
    align-items: center;
    align-content: center;
    object-fit: cover;
}

.feature-img img{
    width: 100%;
    height: auto;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 1rem;
    color: #333333;
    text-justify: center;
}

.feature-card p {
    font-size: 15px;
    text-align: justify;
    text-justify: inter-word;
}

/* Tutorial Section */
.tutorial {
    background: rgb(255, 255, 255);
    padding: 1rem 3rem;
    min-height: 100vh; /* Mínimo altura completa */
    max-height: 100vh; /* Máximo altura completa */
    font-family: "Nunito", sans-serif;
}

.tutorial-container {
    margin: 0 auto;
    align-items: center;
}

.tutorial-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.3rem;
    color: #333333;
}

.tutorial-content p {
    font-size: 1.1rem;
    color: #333333;
}

.carrusel-container-2 {
    max-width: 800px;
    margin: 1px auto;
    padding: 0 1rem;
}

.carrusel-2 {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: #000;
}

.carrusel-contenedor-2 {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slide-2 {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    position: relative;
}

/* Colores diferentes para cada slide del segundo carrusel */
.slide-2-1 {
    background: white;
}

.slide-2-2 {
    background: white;
}

.slide-2-3 {
    background: white;
}

.slide-2 h2 {
    font-size: 3.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    font-weight: 700;
}


.btn-2 {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    border-radius: 35px;
    border: 2px solid white;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    letter-spacing: 0.5px;
}

.btn-2:hover {
    background: white;
    color: #333;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Indicadores del segundo carrusel */
.indicadores-2 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.indicador-2 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(136, 136, 136);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.indicador-2.activo-2 {
    background: rgba(254, 198, 61, 1);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.indicador-2:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.2);
}

/* Controles del segundo carrusel */
.control-2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: rgb(67, 67, 67);
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    opacity: 0;
}

.carrusel-2:hover .control-2 {
    opacity: 1;
}

.control-2:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.15);
}

.control-2.prev-2 {
    left: 40px;
}

.control-2.next-2 {
    right: 40px;
}

/* Efectos decorativos para el segundo carrusel */
.slide-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.video-contenedor {
    width: 400px;
    height: 225px;
    align-content: center;
}

.video-player {
    width: 100%;
    height: 100%;
}

.video-titulo {
    text-align: left;
}

.start{
    padding: 1rem;
    gap: 2rem;
    height: 50vh;
    margin-top: 1rem;
    justify-content: center; /* Centrado horizontal */
    align-items: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #38B44A;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 20%, #fec63d 80%, #fec63d 100%);
}



.btn-start {
    background: #38B44A;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
    font-size: 25px;
    margin-top: 50px;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(56, 180, 74, 50%);
}

/* Footer */
.footer {
    height: 50hv;
    background: #38B44A;
    color: white;
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Nunito', sans-serif;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    color: #ffffff;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Estados de carga y transiciones */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.success {
    border-color: #48bb78 !important;
    background-color: #f0fff4;
}

.error {
    border-color: #f56565 !important;
    background-color: #fed7d7;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states para accesibilidad */
.cta-button:focus,
.btn-primary:focus,
.btn-secondary:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ========== MEDIA QUERIES ========== */

/* Móviles (≤768px) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Menú Móvil - Oculto por defecto */
    .mobile-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 100%);
        background: rgba(56, 180, 74, 98%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 1rem;
        gap: 2rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .mobile-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Menú de Navegación en Móvil */
    .mobile-menu .nav-menu {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu .nav-link {
        font-size: 1.25rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }
    
    /* Botones en Móvil */
    .mobile-menu .navbtn {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .mobile-menu .login-btn,
    .mobile-menu .register-btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    /* Animación hamburguesa a X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }


.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    height: 100vh;
    background: linear-gradient(180deg, #38B44A 0%, #38B44A 40%, #ffffff 90%, #ffffff 100%);
    color: rgb(255, 255, 255);
    font-family: 'Nunito', sans-serif;
    padding: 0;
    padding-left: 1rem;   /* Padding izquierdo */
    padding-right: 1rem;  /* Padding derecho */
    width: 100%; /* Elimina width: 100vw que causa problemas */
    position: relative;
    left: 0;
    right: 0;
}

.hero-content {
    z-index: 2;
    width: 100%; /* Asegura que ocupe todo el ancho */
    padding: 0 1rem; /* Mueve el padding aquí */
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Importante */
}

.hero-image{
    width: 350px;
    height: auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;   /* Empuja hacia el centro */
    margin-right: auto;  /* Empuja hacia el centro */
}

.hero-image img{
    max-width: 100%;     /* Nunca más ancha que su contenedor */
    height: auto;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 0.7rem;
    font-weight: 700;
    width: 100%; /* Ocupa todo el ancho disponible */
    text-align: left; /* o center según prefieras */
    padding: 0;
    max-width: none; /* Elimina cualquier limitación */
}

.hero p {
    font-size: 12px;
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 400;
    width: 100%;
}

.btn-primary {
    background: rgba(254, 198, 61, 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(254, 198, 61, 50%);
}

.features h2 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.5px;
}

       .colab {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
            margin-top: 1rem;
        }
        
        /* Columnas iguales */
        .colab-content {
            flex: 1 1 200px; /* Crecer, encoger, base de 300px */
            max-width: 70px;
            background: white;
            border-radius: 15px;
            padding: 2rem;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        

        
        /* Estilos para los escudos */
        .escudo {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }
        
        .escudo img {
            width: 70px;
            height: 70px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }


    .carrusel-container {
        padding: 1rem 2rem;
    }
    
    .section-header {
        padding: 0.8rem 1rem;
        gap: 8px;
        height: auto;
        min-height: 110px;
        align-items: flex-start;
        justify-content: flex-start; /* Alinea contenido al inicio */
    }
    
.section-image {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    padding: 0.2rem;
}

.section-image img {
    width: 28px;
    height: 28px;
}

    
.section-text {
    flex: 1;
    min-width: 0;
    padding: 0.2rem 0;
}

.section-header p {
    font-size: 11px;
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 7; /* Controla número de líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}
    
    .carrusel-control {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .carrusel-control.prev {
        left: 1px;
    }
    
    .carrusel-control.next {
        right: 1px;
    }

    

    .carrusel-container-2 {
    max-width: 768px;
    margin: 1px auto;
    padding: 0 0.5rem;
}

.carrusel-2 {
    position: relative;
    overflow: hidden;
    height: 500px; /* Aumentado para acomodar el video */
    background: #f8f9fa; /* Fondo por defecto */
    border-radius: 10px;
}

.carrusel-contenedor-2 {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slide-2 {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    position: relative;
    padding: 1rem;
    box-sizing: border-box;
}

/* Colores diferentes para cada slide del segundo carrusel */
.slide-2-1 {
    background: white;
}

.slide-2-2 {
    background: white;
}

.slide-2-3 {
    background: white;
}

.slide-2 h2 {
    font-size: 1.8rem; /* Más apropiado para el espacio */
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.slide-2 p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    line-height: 1.5;
    color: #666;
}

.btn-2 {
    display: inline-block;
    padding: 0.8rem 2rem; /* Más proporcional */
    background: rgba(56, 180, 74, 0.9); /* Color de tu tema */
    color: white;
    text-decoration: none;
    border-radius: 35px;
    border: 2px solid rgba(56, 180, 74, 1);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
}

.btn-2:hover {
    background: rgba(56, 180, 74, 1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 180, 74, 0.3);
}

/* Indicadores del segundo carrusel */
.indicadores-2 {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicador-2 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(136, 136, 136, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.indicador-2.activo-2 {
    background: rgba(254, 198, 61, 1);
    transform: scale(1.2);
}

.indicador-2:hover {
    background: rgba(254, 198, 61, 0.7);
    transform: scale(1.1);
}

/* Controles del segundo carrusel */
.control-2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    opacity: 0.9;
}

.control-2:hover {
    background: rgba(254, 198, 61, 1);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.control-2.prev-2 {
    left: 3px;
}

.control-2.next-2 {
    right: 3px;
}

/* Video container corregido */
.video-contenedor {
    width: 100%;
    max-width: 600px; /* Máximo ancho */
    height: 337px; /* Proporción 16:9 aproximada */
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    order: 2;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-player:fullscreen {
    object-fit: contain; /* Mantiene la proporción */
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    background: #000;
}

.video-player:-webkit-full-screen {
    object-fit: contain !important;
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    background: #000;
}

.video-titulo {
    order: 1; /* Título primero */
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #333;
    order: 1;
}

.btn-start {
    background: #38B44A;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
    font-size: 25px;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(56, 180, 74, 50%);
}

/* ========== MEDIA QUERIES ========== */

/* Para pantallas más pequeñas */
@media (max-width: 767px) {
    .hero{
        margin-top: 4rem;
    }

    .carrusel-2 {
        height: 450px;
    }
    
    .slide-2 h2 {
        font-size: 1.5rem;
    }
    
    .video-contenedor {
        height: 200px;
        max-width: 400px;
    }
    
    .control-2 {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .start{
    padding: 1rem;
    gap: 2rem;
    height: 50vh;
    margin-top: 1rem;
    justify-content: center; /* Centrado horizontal */
    align-items: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #38B44A;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 20%, #fec63d 80%, #fec63d 100%);
}



    .btn-start {
        background: #38B44A;
        color: white;
        padding: 1rem 2rem;
        border: none;
        border-radius: 35px;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
        font-family: 'Nunito', sans-serif;
        font-size: 25px;
        margin-top: 50px;
    }

    .btn-start:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(56, 180, 74, 50%);
    }
}
}

/* Tabletas Pequeñas (≥576px) */
@media (min-width: 576px) and (max-width: 768px) {
.hero {
    display: flex;
    flex-direction: row; /* Asegurar dirección horizontal */
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    width: 100%; /* Asegurar que ocupe todo el ancho disponible */
    height: 100vh;
    margin-top: 40px;
    margin: 0 auto;
    background: linear-gradient(180deg, #38B44A 0%, #38B44A 40%, #ffffff 90%, #ffffff 100%);
    color: white;
    padding: 2rem;
    font-family: 'Nunito', sans-serif;
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    min-width: 300px; /* Ancho mínimo */
    max-width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image{
    flex: 1;
    min-width: 300px; /* Ancho mínimo */
    max-width: 45%;
    display: flex;
    margin-top: 4rem;
    justify-content: center;
    align-items: center;
}

.hero-image img{
    max-width: 100%;
    height: auto;
    object-fit: contain;
}



    .hero h1 {
    margin-top: 4rem;
    font-size: 24px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    }

.hero p {
    font-size: 12px;
    color: #333333;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-primary {
    background: rgba(254, 198, 61, 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(254, 198, 61, 50%);
}

    

    .carrusel-2 {
        height: 450px;
    }
    
    .slide-2 h2 {
        font-size: 1.5rem;
    }
    
    .video-contenedor {
        height: 200px;
        max-width: 400px;
    }
    
    .control-2 {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tutorial{
        margin-bottom: 4rem;
    }

    .start{
    padding: 1rem;
    height: 50vh;
    margin-top: 19rem;
    justify-content: center; /* Centrado horizontal */
    align-items: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #38B44A;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 20%, #fec63d 80%, #fec63d 100%);
    padding-bottom: 9rem;
}


    .btn-start {
        background: #38B44A;
        color: white;
        padding: 1rem 2rem;
        border: none;
        border-radius: 35px;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
        font-family: 'Nunito', sans-serif;
        font-size: 21px;
        margin-top: 10px;
    }

    .btn-start:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(56, 180, 74, 50%);
    }

}

/* Tabletas (≥768px) - Desktop */
@media (min-width: 769px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 2rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-menu {
        font-size: 1.125rem;
        gap: 3rem;
    }
    
    .login-btn, .register-btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .navbtn {
        gap: 1.5rem;
    }
}

/* Desktop (≥992px) */
@media (min-width: 992px) {
    .nav-menu {
        gap: 4rem;
    }
    
    .logo-img {
        height: 55px;
    }
}

/* Desktop Grandes (≥1200px) */
@media (min-width: 1200px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .logo-img {
        height: 60px;
    }
}

/* Móviles Pequeños (≤480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .mobile-menu {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .mobile-menu .nav-menu {
        gap: 1.5rem;
    }
    
    .mobile-menu .nav-link {
        font-size: 1.125rem;
        padding: 0.875rem 0;
    }
    
    .mobile-menu .navbtn {
        max-width: 250px;
    }
    
    .mobile-menu .login-btn,
    .mobile-menu .register-btn {
        font-size: 0.9375rem;
        padding: 0.625rem 1.25rem;
    }
}

